package com.baoxin;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringCloudApplication
@EnableDiscoveryClient  // 开启eureka 客户端注册  拉取服务
public class GatewayDemoApplication {

    public static void main(String[] args) {

        SpringApplication.run(GatewayDemoApplication.class,args);
    }
}
